package org.example.domain;

public class result {
    private  Object data;
    private  Integer code;
    private  String msg;
public result(String msg){
    this.data=false;
    this.msg=msg;
}
    public result() {
    }

    public result(Object data, int code) {
        this.data = data;
        this.code = code;
    }

    public result(Object data, int code, String msg) {
        this.data = data;
        this.code = code;
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
